package com.smedi.ismedi.constructionproject.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * 主体院分管领导审核
 *
 * @author nyl
 * @date 2021/08/28
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "工程部工程师审批")
public class ProcessEngineerApprovalRequest {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 评论
     */
    @ApiModelProperty(value = "评论")
    private String comment;

    /**
     * 处理方式
     */
    @ApiModelProperty(value = "处理方式（PASS/NOT_PASS）")
    @NotNull(message = "处理方式不能为空")
    private String method;
}
